package org.demo.base.proxy.staticproxy.impl;

import org.demo.base.proxy.staticproxy.IUserService;

public class UserServiceProxy implements IUserService{

    private IUserService userService;

    public UserServiceProxy() {
    }

    public UserServiceProxy(IUserService userService) {
        this.userService = userService;
    }

    public void use() {
        System.out.println("执行方法前。。。。。");
        userService.use();
        System.out.println("执行方法后。。。。。");
    }
}
